package com.aaa.service;

import com.aaa.entity.LeadingUsers;
import com.aaa.util.DefaultMsg;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 前台用户管理service接口
 */
@Mapper
public interface LeadingUsersService extends IService<LeadingUsers> {
    //查询所有前台用户
    public List<LeadingUsers> listAll(String keyword);

    //根据lid删除前台用户
    public DefaultMsg delete(Integer lid);

    //重置密码
    public DefaultMsg resetPasswords(LeadingUsers leadingUsers);

    //启用前台用户
    public Integer updateQi(LeadingUsers leadingUsers);

    //禁用前台用户
    public Integer updateJin(LeadingUsers leadingUsers);
}
